
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using LESLogica;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["usuario"] == null)
        {
            Response.Redirect("login.aspx");
        }
        this.LabelNomeUsuario.Text = "Logado(a) como ";
        this.Label1.Text = ((SUsuario)(Session["usuario"])).nome + "     ";
    }
    protected void TextBox1_TextChanged(object sender, EventArgs e)
    {

    }
}
